import requests

import app


class Login:
    def __init__(self):
        self.url_login = app.BASE_URL + "/api/sys/login"

    def login(self, jsonData):
        response = requests.post(url=self.url_login, headers=app.HEADERS,
                                 json=jsonData)
        return response
